package ch.genidea.jsfcharts.highstock;

import java.math.BigDecimal;

public class CandlestickPoint {

    private long timestamp;

    private BigDecimal low;
    private BigDecimal high;
    private BigDecimal open;
    private BigDecimal close;

    public CandlestickPoint(long timestamp,BigDecimal open, BigDecimal high, BigDecimal low,  BigDecimal close) {
        this.timestamp = timestamp;
        this.low = low;
        this.high = high;
        this.open = open;
        this.close = close;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public BigDecimal getLow() {
        return low;
    }

    public BigDecimal getHigh() {
        return high;
    }

    public BigDecimal getOpen() {
        return open;
    }

    public BigDecimal getClose() {
        return close;
    }
}
